<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../js/vue.js"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h1>{{info}}</h1>
        <h3> {{ age + 10 }}</h3>
    </div>
</body>
<script>

//  挂载区  #app  不能挂在 html,body 标签上
//  {{ }} 插值表达式 ，基本计算功能
//  MVVM= view , model , vm
var vm = new Vue({
    el: "#app",
    data: {
       info: "知行合一" ,
       age : 18 
    }
});

</script>
</html>